﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DAL
{
    public class UserTranslator
    {
        public static DAL.User TranslateBLLToDAL(BLL.User user)
        {
            DAL.User User = new DAL.User();
            User.UserId = user.UserId;
            User.FirstName = user.FirstName;
            User.LastName = user.LastName;
            User.DepartmentId = user.departmentId.DepartmentId;
            User.RoleId = user.roleId.RoleId;
            return User;
        }
    }
}
